

<div class="x-body">
    <form class="layui-form form_single" action="{:url()}" method="post">


        <div class="layui-form-item">
            <label  class="layui-form-label">
                应用
            </label>
            <div class="layui-input-block">
                <select name="app_id" >
                    {volist name='applications' id='vo'}
                    <option value="{$vo['id']}" {notempty name="$info['app_id']"}{if condition="$info['app_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                    {/volist}
                </select>
            </div>


        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                标题
            </label>
            <div class="layui-input-inline">
                <input type="text" id="title" name="title"  value="{$info['title']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>
        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                价格
            </label>
            <div class="layui-input-inline">
                <input type="text" id="price" name="price"  value="{$info['price']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                面额
            </label>
            <div class="layui-input-inline">
                <input type="text" id="amount" name="amount"  value="{$info['amount']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                有效期
            </label>
            <div class="layui-input-inline">
                <input type="text" id="period" name="period"  value="{$info['period']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>




        <div class="box-footer">

            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>


